package org.smr.ministore.dao;


import org.apache.ibatis.annotations.Param;
import org.smr.ministore.entities.DictionaryOrgan;
import org.apache.ibatis.annotations.Mapper;
import org.blade.dao.base.BaseMapper;
import org.blade.dao.base.PageQueryMapper;


/**
*
**/
@Mapper
public interface DictionaryOrganMapper extends BaseMapper<Long, DictionaryOrgan>,PageQueryMapper<Long,DictionaryOrgan> {

    /**
    * 逻辑删除
    * @param id
    *
    */
    int deleteByIdLogical(@Param("id")Long id);

    /**
     * 通过组织删除
     * @param organId
     * @return
     */
    int deleteByOrgan(@Param("organId") Long organId);
}